const getUserID = () => {
  return JSON.parse(localStorage.getItem("userID"));
};

const setUserID = (userID) => {
  localStorage.setItem("userID", JSON.stringify(userID));
};

export default () => {
  return {
    getUserID,
    setUserID,
  };
};
